package com.gpt.article.service;

import java.util.List;
import com.gpt.article.domain.Lawyer;

/**
 * 律师信息Service接口
 * 
 * @author zhuzi
 * @date 2023-12-29
 */
public interface ILawyerService 
{
    /**
     * 查询律师信息
     * 
     * @param userid 律师信息主键
     * @return 律师信息
     */
    public Lawyer selectLawyerByUserid(Long userid);

    /**
     * 查询律师信息列表
     * 
     * @param lawyer 律师信息
     * @return 律师信息集合
     */
    public List<Lawyer> selectLawyerList(Lawyer lawyer);
    public List<Lawyer> selectLawyerListNogen(Lawyer lawyer);

    /**
     * 新增律师信息
     * 
     * @param lawyer 律师信息
     * @return 结果
     */
    public int insertLawyer(Lawyer lawyer);

    /**
     * 修改律师信息
     * 
     * @param lawyer 律师信息
     * @return 结果
     */
    public int updateLawyer(Lawyer lawyer);

    /**
     * 批量删除律师信息
     * 
     * @param userids 需要删除的律师信息主键集合
     * @return 结果
     */
    public int deleteLawyerByUserids(Long[] userids);

    /**
     * 删除律师信息信息
     * 
     * @param userid 律师信息主键
     * @return 结果
     */
    public int deleteLawyerByUserid(Long userid);
}
